/*
	This file is part of Sandbox.

	Copyright (C) 2008  Marleine Daoud <marleine@gmail.com>

	Sandbox is free software: you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.

	Sandbox is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License 
	along with Sandbox.  If not, see <http://www.gnu.org/licenses/>.
*/
#import <glib.h>
#import <gtk.h>
#import <list.h>
#import "search-by-example.h"
#import "search-advanced.h"
#import "search-history.h"

/**
* An interface for the SearchUI class. An interface for the SearchByUI class, it 
* inherites from class VBox. It creates the box where the searching notebook as 
* well as its different tabs are displayed. It also contains the different search 
* lists containing the search criteria and the searching history.  
*
* @author Marleine Daoud
*/

@interface SearchUI : VBox {
@public
	Notebook *searchnotebook;
	SearchCriteriaBox *searchbebox;
	SearchAdvancedBox *searchadbox;
	SearchHistoryBox *searchhistorybox;	
	
	GList *searchCriteria;
	GList *searchandor;
	GList *searchHistory;
	GList *searchHistoryao;
	GList *searchCriteriaEdit;
	GList *searchandorEdit;
}

/**
* A method to initialize a SearchUI instance. A method to initialize the 
* SearchUI by allocating and initializing the box, notebook, different tabs and 
* lists.
*/

- init;

/**
* A method to free a SearchUI instance. A method to free the SearchUI by freeing 
* the box, notebook, different tabs and lists.
*/

- free;

@end
